
<div class="sysinfo"> 
	<h1>{$uri.msg}</h1>
	<br />
	
	<p>...&nbsp;<span id="time_limit">{$uri.second}</span>&nbsp;...</p>
	<br />

	{if $uri.type eq 'transfer'}
	<meta http-equiv="Refresh" content="{$uri.second};URL={$uri.url}" />
	<p><a href="{$uri.url}">如果您的浏览器没有正常跳转，请点击这里。。。</a></p>
	<p><a href="javascript:history.back();">返回上一步</a></p>
	{/if}
	
	{if $uri.type eq 'back2edit'}
	<p><input type="button" value="返回内容页" onclick="back2edit();" class="button" />
		&nbsp;&nbsp;
		<input type="button" value="返回列表页" onclick="back2list();" class="button" /></p>
	{/if}
	<!-- <br />
	<p><a href="./m.php?frm=index&mdl=index">返回欢迎页</a></p> -->
</div>

<script type="text/javascript" language="JavaScript" charset="utf-8">
<!--
	{literal}
	var uri = {};
	{/literal}

	{foreach from=$uri key=key item=val}
		uri['{$key}'] = '{$val}';
	{/foreach}

	{literal}
	if(uri.ttl < 0){
		uri.ttl = 0;
	}
	time_limit(uri.second);

	/*if(uri.type == 'transfer'){
		setTimeout(function(){
			window.location = uri.url;
		}, uri.ttl);
	}*/
		
	/*if(uri.type == 'back2edit'){
		setTimeout(function(){
			back2edit();
		}, uri.ttl);
	}*/

	function time_limit(n){
		n--;
		if(n <= 0){
			if(uri.type == 'back2edit'){
				back2edit();
			}else{
				back2list();
			}
		}else{
			$('#time_limit').html(n);
			setTimeout(function(){time_limit(n);}, 1000);
		}
	}

	function back2edit(){
		window.location = uri.referer;
	}

	function back2list(){
		if(uri.type == 'back2edit'){
			top.frames['iBody'].location.reload();
			show_ibody();
		}else{
			window.location = uri.url;
		}
	}
	{/literal}
-->
</script>


